package com.woniuxy03;

import java.util.Scanner;

/**
 * @author 作者
 * @create 2025-10-23 17:26
 */
public class Test02 {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        System.out.println("输入用户名");
        String username=scanner.next();
        System.out.println("输入密码");
        String password = scanner.next();

        if("a".equals(username) && "aaa".equals(password)){
            System.out.println("登录成功");
        }else{
            System.out.println("登录失败");
        }
    }
}
